package com.example.captcha1.controller;

import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@Slf4j
@RestController
@RequestMapping("/logger2")
public class LoggerController2 {

    @RequestMapping("/log")
    public String print() {
        log.info("打印日志");
        return "success";
    }
}
